import path from 'path'
import {createRouter,createWebHashHistory} from 'vue-router'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            redirect:'main',
        },
        {
            path:'/main',
            name:'main',
            component:()=>import('@/views/main.vue')
        },
    ]
})

export default router